package cn.jlonely.xyhx.app.mapper;

import cn.jlonely.xyhx.pojo.Notification;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AppNotificationMapper {

    /**
     * 查询所有通知
     * @return
     */
    @Select("select * from notification_table ORDER BY create_time DESC")
    List<Notification> getNotificationAll();
}
